<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>欢迎页面</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <link rel="stylesheet" href="${ctx}/css/font.css">
  <link rel="stylesheet" href="${ctx}/css/xadmin.css">
  <link rel="stylesheet" href="${ctx}/lib/layui/css/layui.css">
  <!-- 导入jquery插件 -->
  <script type="text/javascript" src="${ctx}/js/jquery-1.11.0.js"></script>
  <script type="text/javascript" src="${ctx}/js/jquery-migrate-1.2.1.js"></script>
  <script type="text/javascript" src="${ctx}/js/fkjava_timer.js"></script>
  <script type="text/javascript" src="${ctx}/lib/layui/layui.js"></script>

  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/echarts@4.4.0/dist/echarts.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/v-charts/lib/index.min.js"></script>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/v-charts/lib/style.min.css">

  <style type="text/css">

    p{
      font-family: "宋体","仿宋",sans-serif;
      text-align: left;
      font-size: 14px;
    }
  </style>
</head>
<body>

<div style="width:100%;height:190%;margin-top:-30px; border:0;" class="main_tabbor">
  <h1 align="center" style="color:  rgb(26,160,147); font-size:30px; margin-top:30px">培养方案评价结果</h1>
  <hr>

  <div class="x-body">
  <table class="layui-table">
    <thead>
    <tr>
      <th>第一题</th>
      <th>第二题</th>
      <th>第三题</th>
      <th>第三题</th>
      <th>第三题</th>
      <th>第三题</th>
      <th>第三题</th>
      <th>第四题</th>
      <th>第四题</th>
      <th>第五题</th>
      <th>第六题</th>
      <th>第六题</th>
      <th>第七题</th>
      <th>第七题</th>
      <th>第七题</th>
      <th>第七题</th>
      <th>第七题</th>
    </thead>
    <tbody>
    <c:forEach items="${requestScope.list}" var="list" varStatus="stat">
      <tr>
        <td>${list.star}分</td>
        <td>${list.second}</td>
        <td>${list.three1}</td>
        <td>${list.three2}</td>
        <td>${list.three3}</td>
        <td>${list.three4}</td>
        <td>${list.three5}</td>
        <td>${list.four}</td>
        <td>${list.id4}</td>
        <td>${list.five}</td>
        <td>${list.six}</td>
        <td>${list.id6}</td>
        <td>${list.seven1}</td>
        <td>${list.seven2}</td>
        <td>${list.seven3}</td>
        <td>${list.seven4}</td>
        <td>${list.seven5}</td>
      </tr>
    </c:forEach>
    </tbody>
  </table>
  </div>

  <script>
    layui.use(['form','layer'], function(){
      $ = layui.jquery;
      var form = layui.form
              ,layer = layui.layer;
      //自定义验证规则
      form.verify({
        nikename: function(value){
          if(value.length < 5){
            return '昵称至少得5个字符啊';
          }
        }
        ,pass: [/(.+){6,12}$/, '密码必须6到12位']
        ,repass: function(value){
          if($('#L_pass').val()!=$('#L_repass').val()){
            return '两次密码不一致';
          }
        }
      });
    });
  </script>
</div>
</body>

</html>